Eschew advanced reconcile in P4V - perforce

When I try to reconcile, I'm sometimes interrupted by this alert. How can I just do a normal reconcile?
Also sometimes I see this same alert when I'm trying to cancel a reconcile. Why doesn't P4V take me straight back to the main window?

Direct Answer: Normally you can ignore that popup by clicking on cancel. It will do an "un-Advanced" reconcile. But behavior may depend on your client/server versions...
This page http://www.perforce.com/perforce/doc.current/manuals/p4v/Managing_lost_connection.html describes "Advanced Reconcile" as an "optional" step, but does not explain wtf (why the f) they had to add it.
I never had a problem with the reconcile before they introduced Advanced, but now it seems that a reconcile can fail to actually reconcile everything and you need to do an advanced reconcile to get the files it missed.
Lesson learned... After a "normal" reconcile (by click on "Cancel" the first time), do the reconcile again and select advanced (which does a folder diff), it shouldn't produce anything, but if it does, then you need to review those files.

Can you post an example of what the 'Advanced Reconcile' dialog looks like when you bring it up? That'll help diagnose why the basic reconcile doesn't work. As one example, if you tell P4V you're going to add a file, then delete it from disk, the basic reconcile doesn't work.
FWIW, I usually drop to the command line and run p4 reconcile as a faster option.

Related

Is there any way to see cstat in P4V?

I just wonder if the UI (P4V) can provide the information from this command?
https://community.perforce.com/s/article/3458
Thanks for anything
P4V used this feature at one point for a "workspace overview" tab that showed, among other things, what changelist you were synced to, but that no longer exists AFAIK. You can, however, run cstat from a "custom tool" and see its output in the log pane.

Disable P4V Auto Refresh of “Reconcile Offline Work” If Window is Left Open

If I do "Reconcile Offline Work" in P4V, after a while the reconciling will finish and a window will eventually pop up showing the files that were modified, added, or removed. Sometimes I know the reconciling will take a few minutes or more based on the huge number of files in the directory, so I move on and start working on something else, and I expect that the reconciling will be done when I return later. However, sometimes, when I go back to P4V several minutes later, I see the window filled in with all of the modified, added, and removed files for a brief moment before they get blanked out and the scan seems to start all over again.
This can be quite aggravating since I'm trying to avoid having to sit around and wait for the reconciling to complete, but I end up having to wait for multiple reconciles when I only want to do it once.
Any ideas as to what causes this or how to turn off this repeated reconciling when I only want to reconcile once?
I'm using the "2014.3" version.
I did a bit of additional searching on this and finally stumbled upon the answer!
This is bug #70465: https://www.perforce.com/perforce/doc.current/user/p4vnotes.txt
#1171326 (Bug #70465)
There is now a preference to disable global refresh affecting the Reconcile
Offline Work dialog. Default is to continue allowing global refresh to
update the dialog. The preference can be found on the Behavior page in
preferences.
Updating to a newer version (2015.1 or newer) will allow me to disable the global refresh in the Preferences/Behavior menu.

TFS How to enable the confirmation dialog pop when undoing pending changes in visual studio

I am following this blog post:
TFS Pending Changes – Ignoring Files which are Identical to the Originals
But I do not get the dialogue shown in step 3 which asked for confirmation regarding the undo. Where can I turn this on within visual studio?
Please do not do this.
I loathe the advice given to you in this blog post. It is super dangerous to get into the habit of asking the system to undo all your changes and then hitting no to not actually undo your changes. You fat finger this one time and accidentally click "yes to all" and you have lost all your work. Oops!
I think that you will be much happier and much safer if you simply let the system do this work for you instead of relying upon a workaround to make this work:
Simply use tfpt uu or tf uu to undo unchanged files.

Does p4V have a good way to merge integration files without having to click a lot?

When performing integrations, sometimes you need to merge files. The old Perforce GUI (P4Win) had a nice Ctrl+M hotkey I could use to run my merge tool quckly and easily.
In P4V, I find I need to right-click the file, click on Resolve, and then click on Run Merge Tool. Alternatively I can right click, O, O, Enter, and then click on Run Merge tool. This is a pain, especially when I need to resolve dozens of files.
Is there a way to make it better?
Right-click on your pending changelist and select "Resolve Files..." That will walk you through each file.

Perforce: P4V option to 'add to client view'? (It exists in P4Win)

In the Perforce realm, the P4Win GUI is now "legacy" and the new P4V is supposed to fill in the void (and it does, most of the time).
There was one very useful (albeit rather hidden) option in P4Win that allowed adding a depot path to the client specification in a few clicks.
Is there a similar option available in P4V? ... because I can't find it.
(I know I can do it manually.)
Here is the P4Win feature, in all its glory:
This is typical for the P4 GUI (old and new) - it can do lots of things, if only you knew where to look (hint: usually not where you'd expect to find it).
There IS an option in P4V similar to the old 'Add Files to client view' from P4Win, only a lot more powerful! (it's a bit hidden and IMO not as streamlined as the original)
You can't find it in the depot view, where you probably ARE when you need it. Instead, go to Workspaces view, right-click the workspace definition and 'Edit' it (or dbl-click it then click 'Edit').
Notice the tabs on top of the 'Workspace editor' window that just opened. Select the 'View' tab. There is a lot going on here, including (apparently) information on the new 'Offline' mode.
To get to the point: in this window, find the piece of depot you need and right-click it.
Nirvana! There are no less than 6 menu options (!) that allow you to specify how and what to add OR remove to/from the workspace definition.
There's even an 'advanced' mode that looks a bit scary :-&
For P4V version : Rev. Perforce Visual Client/LINUX26X86_64/2012.1/490402
Released on 2012 July 02
Do as follows
Go to Connections -> Edit Current Workspace
In the Basic tab , Workspace Mappings , Right click on the tree and Include Tree.
I don't think that there is, you need to open the Workspace view and make your changes there.
Edit your workspace and change the view to include the relevant directory. Although I use P4V everyday and 'Add to client view' seems to ring a bell....
Of note, they added this feature into the P4V client at some point. You can now right click on a path in the depot tab and choose "Map to Workspace View...". It will bring up the workspace editor with the path added.

Resources