topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 19, 2026, 5:25 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 110 111 112 113 114 [115] 116 117 118 119 120 ... 386next
2851
Mercurial contains the entire repository history in that .hg folder. So the answer to your question is, yes, you can backup the .hg folder and reconstruct everything in the repository (at the date it was backed up) from that.

You would do it by running the update command to whichever revision you wanted. I use a GUI interface so I'm a little unsure about the exact command you'd run, but something like "hg update tip" should make the folder/file structure to be exactly as it was as of the most recent revision (at the time of backing up the .hg folder).

If you use something like TortoiseHg, you could visually browse the repository and manually update to specific revisions by right clicking the one you want and selecting Update from the context menu.

You may want to consider having copies of your repositories on a site like http://bitbucket.com/, which allows you to have private repos (for free) which will essentially automatically handle backing things up for you, as you can just push or pull to/from the bitbucket repo to backup/restore things.
2852
Can we get more details on the spring loaded speaker cover?

Also, does your new cabinet include a TV mount? Or is it a wall mount?
2854
Check out the part that starts:

While that's true and important on the conceptual level, it is NOT true at the storage level.
Git does use deltas for storage.

toward the end of http://stackoverflow...iles/8198276#8198276

I don't know about being more efficient than any other system, but regarding storing deltas, I have seen that claim in a few other places (sorry, didn't find references so far).

Aha! So Git stores data contents as blobs, and then stores a delta of the blobs, rather than a delta of the files. That makes more sense. And I also think that also makes sense that it's more efficient than other systems, since (AFAIK) they all store data on a file level. Therefore if you move or rename a file, you get things being stored multiple times.

Thanks! (Now to look into the other links you provided me...)
2855
I read through Chapter 2 of Git Internals and almost all of it made sounds and sounds really nice. But I have to admit I got totally lost on the subject of rebasing. Usually when I had trouble following the descriptive text, I could look at the illustrations and figure out exactly what was going on. But I'm still not grasping how rebasing works or exactly what it does after having fully read the text and studied the illustrations for some time.


Also, I'm a little confused about something with regard to how Git stores blobs. I like how it doesn't care about files or filenames, and that if the content is the same, it will only store it once. But doesn't that mean if you make one tiny change to a file, it has to store the entire file again as if it was a brand new file? Shouldn't that make the size of the repo huge?

On the other hand, as I understand Mercurial, it stores diffs, but this can mean that duplicate files or move/renamed files are stored multiple times in the same repo, increasing storage size as well.

I do rename or move files occasionally, but I modify existing files a lot more often than I move/rename them. But doesn't this fundamental difference in how each DVCS store data mean that Git repos will generally be larger than Mercurial repos? Or is there something else I'm not grasping?


Finally (at least for now) I'm still a bit unsure about Garbage Collection. Or the fact that in Git, parts of your history can simply disappear. It seems worrisome that things can disappear and be as if they never existed in the repo. In some cases, I can see how that would be nice (like if you accidentally included a file you didn't have permission to distribute), but the description in Chapter 2 seemed to indicate that things would somewhat often be garbage collected through normal use of Git. Scary! I had assumed that to make things disappear as if they'd never existed, it would require some advanced and very intentional edits to the history.

Maybe I just haven't yet gotten to the part where he goes into further detail about what circumstances will cause garbage collection which will allay all my fears/concerns, but for now with what little info I have about it, it's somewhat alarming.
2856
The new furniture definitely looks much nicer. Nice work! :Thmbsup:
2857
While I think it would be nice to have a simple front-end GUI to make changing the settings a little easier, it works well enough to consider it done.

Thanks again, Skwire! :Thmbsup:
2858
(for instance chapter 2 of Git Internals)

OK, why the smurf is that PDF written/designed in landscape mode? :huh:

But thanks for the other tips. I never really messed much with SourceTree for committing things. But after playing around with it for a few minutes, prompted by your tip, I do feel that it (using a Git repository) actually gives me more control than TortoiseHg (Mercurial repository) does to stage specific lines of code rather than what it calls entire hunks. That's really cool!

The Stash feature seems to be an all-or-nothing affair, which, if true, seems a bit unfortunate. I'd love to have the same level of control as the staging area for what I want to stash and what I don't. But with the optional exception of "keeping all staged changes", it seems to stash every change, reverting the repo back to a clean slate. Bummer!

EDIT: After further testing, SourceTree seems to work the same way with Mercurial shelves. But it's actually worse since there is no staging area, so it really is all-or-nothing. That's too bad. I know from TortoiseHg that shelving can be much more selective/precise than that. But I guess that lets me know that Git Stashes could probably be more selective as well if I had a better tool to do it.
2859
On a side note, haven't read it recently, but at some point I found the following useful:

  https://mercurial.se...com/wiki/GitConcepts

(Please note specifically the section about Git's staging area -- section 2.2.)

Thanks, I'll take a look at that. Though I think I need the reverse of that. A guide to migrating to Git from Mercurial.  :D
2860
I've been reading the Git tutorials from Atlassian. Sounds like the Staging Area would cover my needs/wants for "selective commit" and the Stash (which I'm still unsure how to use) would cover my needs/wants for Hg's Shelves.

I've been using SourceTree to easily handle making/merging/closing branches for the Gitflow workflow (in Mercurial) and TortoiseHg for all the actual committing, shelving, pushing, pulling, etc.

I'll download SmartGit and see if I like that any better than SourceTree. I don't really care for SourceTree's interface, but I like how it has built-in Gitflow tools, so I keep it around for that. Though I suppose if SmartGit has better branch management than TortoiseHg (which basically doesn't have anything for creating or closing branches), I may not even need SourceTree anymore.

Then again, I think "branches" are different things in Git than they are in Mercurial...
2861
My question mostly arises from the fact that since Git is the clear popular DVCS, there are new technologies/services being built to be used in conjunction with Git. My specific use/need/desire to make the transition from Mercurial to Git is that I do most of my coding for the Unity game engine, and they've recently-ish started a service called Cloud Build which will check your repository for changes, and then automatically make builds of your game for multiple platforms.

They fully support Git, and have for several months. Even on the free plan. Mercurial support was only added within about the past month, and it's locked behind a $100/mo paywall.

But I've been using Mercurial for years and am a little hesitant to just hop on over to Git. I would want to make sure that all the features that I make regular use of in Hg are (easily) available in Git. For example, I use TortoiseHg and I make liberal use of the "Shelve" feature, as well as what I'm going to call "selective commit" since I don't know the name of it. Here's a screenshot of what I'm talking about:

Selective Commit.png

See how I unchecked the box so that change won't be included in the commit? It's important for me to be able to do something like that in Git about as easily as I can in TortoiseHg. I can also shelve things as entire files or selectively like that as well.
2862
Anyone know of a modern comparison between Git and Mercurial? A few years ago when I first looked into them, they were both fairly new, and git hardly even worked on Windows. At the time, as a Windows user, Mercurial was the clear winner as far as ease of use and friendly tools to make the commandline stuff easier/unnecessary.

But both Git and Mercurial have been heavily developed over the years, adding who knows what features. And with the popularity of github, Git and tools for it have become developed enough that it may be worth revisiting this decision for future coding projects. I'd like to see an up to date, modern comparison of their features and tools, as I'm considering making the switch from Mercurial to Git if I feel it's worth it. Unfortunately, all my searches just give me links/information dated anywhere from 2008-2012, which was within the range of time when I originally did my research and chose Mercurial.

So, I repeat, does anyone know of a good, modern comparison of Git and Mercurial?
2863
General Software Discussion / Re: Windows 10 Announced
« Last post by Deozaan on July 06, 2015, 12:57 AM »
No additional software was ever added to the install, so it is only Windows 10 playing games with ~5GB of space. Where is it storing what and why?? The clean install has been running for 24hrs, and is still sitting at it's original ~7GB so I'm assuming it isn't the indexing service(s) using up the space. And trying to get a birds eye view with SpaceSniffer didn't yield anything useful in the way of what was using the space either.

My guess is that it keeps separate "images" (snapshots) so it can revert to a known working system if an upgrade goes bad.
2864
Paint
2865
General Software Discussion / Re: Windows 10 Announced
« Last post by Deozaan on July 03, 2015, 06:06 PM »
Has anyone else had activation issues with 10?

Nope. I can't even remember Windows 10 asking me for any activation keys or anything, though I suppose it's possible it asked me when I first installed it several months ago.

When I upgrade, it just upgrades. It doesn't ask me for activation keys again, or say anything to me about activation.
2866
General Software Discussion / Re: Windows 10 Announced
« Last post by Deozaan on July 02, 2015, 04:30 PM »
Anyone else have problems with Windows Update saying "Downloading updates 0%" forever? Is the download so huge that an hour later it is still at 0%?

I finally managed to get my netbook to show some progress, but it interrupted itself and said it couldn't install some updates because some updates were being installed. Then it said it might help if I reboot. I rebooted, and Windows Update told me the same thing again, so this time I clicked retry and now it says "Preparing to install updates 35%" and has been "stuck" there for quite a while.

But my VM with Windows 10 is still at 0% and has been for about an hour.

EDIT: Just after I submitted this, I went to the VM and clicked around a bit and went back to Windows Update and it refreshed the screen and now it's saying 24%. So maybe it just sometimes has problems updating the progress bar or percentage/text while it's doing its thing.
2867
That looks great! :Thmbsup:
2868
General Software Discussion / Re: Windows 10 Announced
« Last post by Deozaan on July 02, 2015, 03:35 PM »
I don't know if it was this way before, but now I see the "Settings" down by the "Power" options in the Start Menu (is it still called that?). I like that change. :)

Oh, and this is still on build 10159.

EDIT: I just checked my netbook which I haven't updated in a while, so it's still on build 10130. Settings is in the same place. I guess I never noticed it before because I just recently realized that "Windows Update" is in Settings, and rather than pressing the Windows key and typing "Windows Update" I can just click Settings -> Update & Security.
2869
The "save" button in most software shows a floppy disk icon.

When was the last time you used a floppy disk?

The scary thing is that the rising generation using computers today may have never used (or even seen!) a floppy disk!

That's one of the best examples of a skeuomorphism I can think of.
2870
General Software Discussion / Re: Windows 10 Announced
« Last post by Deozaan on July 01, 2015, 01:18 AM »
Anyone know how to get Windows 10 to update immediately? I've checked for updates and it often says "We found updates, we'll download them later."

Uh, no. Now is good for me, thanks. But I can't seem to find the option to force it to download now.

I'm on the fast ring, with "Delay Updates" disabled.
2871
General Software Discussion / Re: Windows 10 Announced
« Last post by Deozaan on July 01, 2015, 01:16 AM »
But the letter e in that shade of blue with the curve just so is so unique that it's patented and trademarked and copyrighted and everything else. So the next time anyone else writes e in blue, Microsoft can sue them into oblivion!
2872
Living Room / Re: Patent your mom tips
« Last post by Deozaan on June 30, 2015, 01:15 AM »
Ah. Yeah, that particular product seems pretty silly.
2873
Living Room / Re: Patent your mom tips
« Last post by Deozaan on June 30, 2015, 12:13 AM »
I don't get it. What's a mom stick? :huh:
2874
I think part of the reason I felt the documentary didn't go anywhere was partially due to the three people it highlighted. There were scenes where each of the people describe their experience and explain why it means what it means. I'm not sure if it was due to the editing of the film or if they actually explained it the way it was presented in the film, but it felt like none of them (especially Rachel) ever got to the point.

Meh... I generally wait for the next version and a few reviews. :P :D

Next version?
2875
Mini-Reviews by Members / Re: AdGuard: the better Ad Muncher?
« Last post by Deozaan on June 28, 2015, 01:50 PM »
The strange thing is that I've been using AdGuard on my PC with Firefox for weeks, if not a couple of months, and everything was fine. Then one day after a reboot, all HTTPS traffic in Firefox was broken. And since I generally only visit one site via HTTPS in Firefox, I thought it was an issue with the site's CA for several hours before finally realizing every HTTPS site I tried to access was giving me similar errors.
Pages: prev1 ... 110 111 112 113 114 [115] 116 117 118 119 120 ... 386next